package code;

public class Solution {
    /**
     * @param r: a Integer represent radius
     * @return: the circle's circumference nums[0] and area nums[1]
     */
    public double[] calculate(int r) {
        // write your code here
        double[] arr = new double[2];
       
            arr[0] = 3.14 * 2 * r;
            arr[1] = r*r * 3.14;
            return arr;
        
    }
}